package com.baseframe.advert.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baseframe.advert.entity.SnsAdvert;
import com.baseframe.advert.entity.request.SnsAdvertRequest;
import com.baseframe.advert.entity.vo.SnsAdvertVO;
import com.baseframe.mybatis.utils.PageInfo;

/**
 * 广告表数据库操作的Service接口
 */
public interface SnsAdvertService extends IService<SnsAdvert> {

    /**
     * 分页查询广告信息
     *
     * @param pageInfo 分页信息对象
     * @param request  请求对象，包含查询条件
     * @return 返回广告信息的分页结果
     */
    Page<SnsAdvertVO> advertPage(PageInfo pageInfo, SnsAdvertRequest request);
}
